#!/bin/bash
if [ $# -ne 1 ]
then
    echo "parameter is number of servers"
    exit -1;
fi
numThreads=$1
cd Server
for ((c = 0; c < $numThreads; c++))
do
    value=$((8080+$c))
    ./server $value &
done

